package main.java.FSMDE.controllers;

import java.util.ArrayList;

import javax.swing.tree.TreePath;

import main.java.ERMDE.models.Diagram;
import main.java.FSMDE.models.ComplexComponent;
import main.java.FSMDE.models.Component;
import main.java.FSMDE.models.ComponentCollection;
import main.java.FSMDE.views.IComponentView;


public interface IComponentController {

	Component addNewComponent(ComplexComponent auxiliar);

	void setComponentView(IComponentView componentView);

	IComponentView getComponentView();

	void setComponents(ComponentCollection components);

	ComponentCollection getComponents();

	boolean editComponent(Component componentSelected);

	void removeAttribute(Component component);

	void deleteElement(TreePath path);

	void setErmDiagrams(ArrayList<Diagram> ermDiagrams);

}
